fixed image bug and commented out diagnostic