remove everything that is not m7