Fixed checkbox field bug