fix if web folder is removed while local folder is not