fix for adaptive prescaler