just return first error for build