bug fix private->protected