Attempt to fix 500 error on profile save