attempting to fix tales 500 error