fixed grammar, compiling without online mode