remove invalid source