improve struct of plugin section