check for empty params