making error messaging a bit nicer