Removed console log from debug