check paths