make it possible to prevent the default  event