fix private method