tentative fix for the !!stat issue