fix #11 : throw exception