fix add ,edit, delete