fix setting class name.