resolving image issues