Small fixes

two small fixes, no functional change.