At a sub-panel, the ground bus and the neutral bus are NOT connected together. The reason is, you do not want the ground wire to share the neutral current on its way back to the main panel. This would be unsafe. An earlier post today showed a news report about a child killed by this idea....current in the ground wire .
I will leave it to the electrical pros to tell you how to fix this.