layout fixes, date parsing