check for empty param