fixed compatibility with dedicated server