fix errors build