Fix cookie error.
Fix file not found error.