add support for parent element option
bump to version 0.0.5
allow null dates