fix threeword map bug