Fix server check