converted short value to long instead of ulong