De-bugging image issue