fixed up level order