fix translate, clean code
version 1.0.9