Edited tox_data.c to behave better