small fixes to references, etc.