make server runnable