fix errored build