re-add missing codes