removing codes for attachment and comment edit and delete