-changed a few allow_nils to allow_blank