bugfix: catch when id path not set