better handling of missing dependencies