fixed directory making error