checkbox passes false when unchecked