init server var as NULL