fixed bugs in admin + added ranking for search on dash2