fixing server creation type