修正flag读取错误的问题

Signed-off-by: johnnyeven_home <johnnyeven@gmail.com>