checkbox return undefined if they are unchecked