remove spaces in var definitions