fix visibility warning