replace "die" by "undef" when frame source is not exists