cleans transitions