fixed the layout of encounters