hopefully removed global warning