fixed the get_access calls to copmly with the new API