changed to check build fail