Fixed bug that prevented the browser from opening the correct doc file