fix returned data