fixing paths to work with github page's safe mode