throw some errors