fixed unused vars issue; set required version number for TPath