Bug on save method fixed.