trying to get build to finish correctly