fixed mkdir(), because there is a whole path