fixing the submit page layout bugs