debug getting images