prevented directory doesnot exist popup everytime.