fix divisibility