fixes test (json now gets sorted)
fixes profile window executing wrong request