fixed bug in multipage template autocomplete feature
..