last record and css fix