fixed type in header and fixed some css truncating issues