#115 fix build issue
#115 error handling