fixed RAR stub to return correct type