trying fix for count type error on downloads