clean M3 build