Fixed bugs. Allow persist in cascade