Fix check origin