corrected error with a rogue console statement