Fixed protected variable issue on user