fix depricated method call to get contextd