fix null constraint?