When I clicked submit button, the image keeps on loading and final submission becomes not successful.