bug fixed for multi-lang support