discard legacy code bits