better support for thymleaf