images now work properly

also fixed a typo and removed an errant print statement