fixed uploading photos on new create page