Fix delete, format function and add new operator