raise an error just in case