bug found. Missed an int() call