fixed deployment bug due to incorrect templates.