added instance threshold
fix