fix how Slim is loaded