fixed pw
Revert "fixed pw"

This reverts commit 3b5723b4fae269085e63ad4de99db513cb91ebf5.
Revert "Added debugging lines, fixed subject index population issue."

This reverts commit f3cddf00e6f02f1858277917571be9f601d7fcde.