optional params no longer cause out of index panics