fixed BC issue in EntityAccess, fixed #1863