fixed some request parsing stuff