fix error page for lower directories