fix trivial errors