fix setting issue