fixed bad variable reference in debug print statement in server