bugfix in stratify m5