fixed the expanding tool