fix: use div instead of / for int