fixed rendering of checked state