fixing up the navbar helper module