v3 site build; error w/ removeLayer()