Fix checkbox checked problem