check for empty argument in function call