formatting for variableeditor