You need to check that source is not null