fix DM variable