prevent deletion of system-level attributes (#761)