modified the param verification to nullify empty string params of params of types != string