making static paths work