Solved minor bugs in the code.(persistence Layer)