hotfix  interface
rewrite  class
fix javascript config