fix the source-title bug by adding a helper function