Fix error on save related file