Fixed DIV bugs