solve the problem with require