Trimming the results properly