remove spaces in code