cleaned up staged codelists