serverurl was  not global