fix prizes api crash