fixed typo, fixed stuff with refresh data