remove repeated order by on lang loop
fix missing use statement in module class generated. Close #222