Fix for break scan cycle