fixed bugs in persistece.xml