add resource input blanking after save