deal with empty params