build success checking fix