bugs with add and edit functions in Actions table