fixed relevance functionality
Merge remote-tracking branch 'origin/version4' into version4