remove path check