Fixed reference inorder for solution to complie