bug fixes in image upload and reservation