cleanup commonSpec