What if m has incorrect format?(for example no keys mapping, path, etc)