fixes rauth function call