fixed deletion in func bst