make security cards flow properly