card directive triggers exit on exit