better handling of bad projects