added compatibility for checkbox