fix travis, declare currentNode