Fixing image bug