remove duplicated options stuff