fix coursor events