Fixing value of checkbox fields