minor modification of access.py