trim bug