fix toggle baselayers