two small fixes