Fix spaces in formula