remove unnecessary semicolons
[BUG #7525] Overwrite path with default path if no listener is registered