添加source guard