fixing PHP notice on navbar