better error message, and make it stop there