fix ignore and remove restore