bug fix access restriction