Just how does the gas pedal attach??

The pedal should mount on the bottom with 2 nuts through the floor board. It then should just rest on the rod coming through the firewall. Maybe the rod is bent?