fix "new" layer and map controller redirection