switch to internal id