fix image upload in form