fix path problem in slug files