fixed a problem in language dependency