Fixed templates
Fixed typo in file handle.
Fixed navbar.