Ugly hack creating directory