now handle correctly empty params