add support for spring+guard