remove redundant code.
refactor for debugging.

getting wierd error - try this to track it down.