remove navbar controller dependency