fixed an issue when the dist folder did not exist