check for server var