fix format and error for elemMatch.ne