fixed connection:didReceiveData method
cleanup