Slim templates problems fixed