unwatchPath bugfix