modified get_data() for cell data,bug fix