fix for opening new tab in same directory