fix two small bugs