fixed overflowing margins for services and thresholds