fixed buildError