fix convert when previous data do not exist