fixed upload image bug and simplified images