fix source_name bug