fixed R normalization on server so that it no longer throws a connection refused exception