removed console log, minor bug