fix wrong error entry when build failed