fix get config method
fix template