Fixes bug when opening tool with unexisting params