fixed an issue where the extension wouldn't work on certain systems