Fixed uint bug