solve the error