catch empty params