bugfix: math.ceil return float on python2.7