fix division on 255 (v2)