fixing some old code that was left in.