handle no params err
Minor fix