added title and encoding to 500 page [fix #23245415]