modfiy some errors