fixed imaged upload