some problem still getting all the records in the right fomrat