stupid navbar handling