Fix bug in get parameters

It was passing only the first character of the GET parameters.