result layout fixes