elem: fixed small typos in currently unused code

Signed-off-by: mkhropov <mkhropov@gmail.com>