change type of data and rss from uint32_t to int32_t