Unprofessional wiring is often found in older homes that have been remodeled by the home owner. The sub panel pictured has the neutral and the ground wires (white and bare copper wires) attached to the same bus bar. These wires need to be separated so the neutral and ground wires have their own bus bar and the neutral bus be kept non-bonded from the metal panel enclosure. 

Franklin TN_Electrical Sub Panel Incorrectly Wired