made prefixState router not a string in serverstate