fix compile for leo thanks to sportsstar89