fix project def and undef list error