cleanup add proj/ext code