removing un-necessary options