fixed memory leak in development not found page