Fixing WSOD on blank submit