fixing trivial errors