fix api contract in take_access to be compatible with android app