added state property
fixed command init phpcr