temporary (hopefully) fix for creating directories