fix code / id confusion