manage different type of referencies to keywords