orm store bugfixing