bugfix in checkbox helper