search and post templates issue