fix for Slim