try to fix 500 errors