Fixes images bug