hacked navbar ctrl to work