another workdirectory fix