Clean spaces from code