fixed Overflow - with 2^16 value