fix for 7.2 and 13.2

7.2 PRE_SCAN_TIME & MAX_SCAN_TIME
13.2 Duration must be larger than 0 and not null