Change of slim syntax

As suggested by @Irio