fix bug of pages_path

I created issue about this ;)