cleanup in configure.py