Fixed result showing multiple times