check for build error