Well then i can't help, i dont use templates. explain a little more your code, possible give the project, so we can see?