fix exception when clicking on a gutter with no code model