fixes issue #94 by replacing the 63999 constant value with 65535