cleanup appearance and layout