minor cleanup
cleans up excessive indices
more cleanup
remove .pyc