Sometimes the sockets (at least on the 5 series) good "bad". For what ever reason, the sockets get hot and melt a bit. It happened on my mother's car. Anyway, replace the bulbs with quality ones (Osram and Slyvania seem to work the best...).
Hope that helps.