Did you get and enable the debug item noted in the tutorial?

This will indicate what code is at fault