Fixed huge DOT bug