Fix the bug: Not able to submit in edit-detail and upload-file pages