fix an autobug
misc autobugs
new pdefs