fix crash on too big of a request [Close #332]