Are you using a generic scan tool? If so it most likely will not clear all Mercedes specific codes/faults. Before throwing parts at it, I would find someone with a Mercedes Star computer to do a real reset and scan of the module(s). Changing batteries, low voltage, etc can cause all sorts of wonky behavior.