add swipe template, but not work