deal with non image uplaods