strip [index] when writing XML elements
reworked user command with full property support