prepare for sidebar attributes