fix wrong title for 500 error