add param check
update to 0.4.2