trying to solve image problems