[WIP] implement allow_blank feature

I have to write tests about this feature.