throw exception when generation fails
throw exception when generation fails
prepare to release 0.0.3