fix bug in synonym scorer