Fixed a bug in the jtm file