fixed small issue with restoring backup (#207)