correct trimming
development