remove X from template