fix that default options overrides directly passed options to validate

test for that (on cast option as example) also added