clean up layout for items template