fix crash for invalid request
Release 2.1.4