path variable wrong