remove src in either case