replace PIL will pillow library
fix planner return url to relative url