fixed issue with option overriding and supplied better visibility for errors