Fixed a bug that causes only the first param is returned.