trim mmklib