updated error 500 site
trial to fix postgres too long error for term.definition