fixed #10 add select template by hash