fixed https bug on 404 error page