Fixed the debugImage function