Add error handling when combining several options

The combining of several levels of options are now added error handling
for better user message.