hard code isServer