Any ideas on repairing split basement steps prior to painting?

Valgard when I state put glue in the crack that was so when you screw in the bottom board you do it with the crack pushed back together. I suppose I assumed somebody knew to do that and maybe use clamps.