remove card and access template