fix access, method used in other class