fixed coding style of nav template