remove unnecessary direct access check function