Fix trim not being static