Access check function stub
minor fixes