allow to use slim in each 2.x version

fixes #30