Handle undefined params object