un invert and make changes for trds-slim