improved map restart param parsing