transformend fix