remove bad practice for throwing exceptions in 1.3.7