misc notes and fixes