Hackery for octal/int mode handling