fixed 32bit binary operation bug