Update data.php

Minor bugfixes