Console.log debugging clean up