Refined the DIV recognition