fix for m7