fix bugs of gprs