fixing bug on image