fixing non-synchronous path check