fixed cache usage error when using session.Find()