fix nasting