fix serve's routing rather than rack's