fixing broken structure