Fixing mulitple directory proble