Fixed a bug that parsed response codes wrong.