Correct mistakes

Compatible with the latest version TFCraft