FIX: upload image bug