deleting steps working correctly