uncouple marker event handler