fixed bug in top results