removed pointless integer hack-esqe code