he spent the next month supervising the strengthening of the barracks , repairing the damage done in the attack , building taller and stronger watchtowers , and replacing the palisades with stone walls .