fix some cli bugs, update manifest, Fix #29