fix sasve on cascade when relation is null