Fix Patch Bugs

Signed-off-by: jianmingyong <jianming1993@gmail.com>