fix to boolean opts