fixing call to private method