fix dependency analysis