Why did you remove safety checks here? Protecting against a bogus GP by making it print an error message rather than crash is very much desirable and such safety checks should not be removed