remove white space in front of switch statement