fix for validate BST