Preorder not working because of phpword