remove legacy buiild