fix the page directory
fix log comment
avoid empty model
fix directory separator