correct uint to long
pull changes