trim libs