simplify fitBounds-related code, fix typo
update build