ref #79 - two small fixes