checks, fix race