remvoe invalid source
lock