fix route and action helpers.