edit sql remove not null for now