modification for badges search