Fix error when return more than one result