fix access specifiers