removed some console log