City to fix problems with buildings