fix works page and fix bug in save relative path