update error message
update test
generate dist