fix for test type delete