move classhook to top