stripping '[]' from params