fixed bluetooth socket errror