debugged a major bug in pit