Fix handle null and undefined params
Release 0.2.1