removing unnecessary empty string in formula when name parameter set to nil