fix slim v2.0.0 syntax