fix for creating current dir