Caps lock and num lock key lit

I recently acquired and resurrected an old HP pavilion g7 and its running beautifully. But every time I open it up or wake it up the caps lock and num lock keys are lit, they aren't active just lit. They respond if i push to disable and then again to re-enable they do work. It's not a major issue just something i wanted to get feedback on. Is this a known issue or has anyone else experienced this? Also if you have how did you fix it?