removing logs and additional check in node.pick