restore typgraphy variables