Fix crash when no params present