fixed dirtraversal