fixes to configure, remove