Change the way mapping version to format(now use regexp)