fix image prepopulating and delay uploading