bugfix in navbar API