protect for 500 errors when get-parameters are wrong