* Fix AccessMode check