Debugging lesson

removed the LOG and static variable while using debug mode.