fixed images bugs