Fix access callback bug.