add support for slim >2.4