fixed bug in physio_data()