deleteAction in class position fix