small cleanup of checkbox