add custom checkbox support