fix the problem of access. bad solution