fix Line Number Panel bug