need fix errors