fixing checkbox, more minor fixes.