fix agency list bug and confirm delete