Fixed some bugs about Visibility Modifier, Reliance on default encoding on sonar.