Fixed a bug with /tps