Fixed dedicatedserver variable undefined