validate source