fixed weird gateway bug (derp)