FTmxMap bug

Correctly removed extension from string.