Don't replace regular flour with corn flour... mixed with rice flour... and a bit of regular flour... it won't solidify:( That's the last time I bake a cake at 1 am!
important safety tip there.. or the other one, don't bother. there are bakeries with trained professionals making this sort of stuff, pay the man and be damned their insolence!