fix broken reference

`server` was undefined