added if isserver