fix when just one non-hash, non-array param is provided