trying to solve getsparks issue