fixed mode set
fixed typo