Fix: integer argument expected, got float