Fix error with submit page