fixed #45 handle selection interaction mode