making the reg profile better and fixing date sorting in totaler