removed direct calls to _SERVER