rework based on classes on hide delete buttons