fixed a error on checking image branch.