wrong path being checked