fix nullable fields in unique constraints for #14
fix typo
version 0.4.0.2