updated some error code