Prevent invalid request