fixed duplicate action buttons bug