change render path for nav bar and remove white spacing