fixed the spaces in formula string