fixed sense assignment bug