Quickfix for magical int cast