fixed the UI bug in agenda page