directory creation issue is fixed