There were not any repair works at all. After the Northern War end the decline of the fortress began and town stole wall's construction material for their private usage.