fix #421 made settings protected instead of private