refactor some code range, aded ru lang