fixing error message on image