logic fixes for zos driftcorrect