fix possible error after plugin installation

- plugin got disabled (jdom exception because of setting null values)

Resolves #31