bugfix to unrar function