Fix bug in async-data when T is const