Prepare for the submit