Further fixes to creating team task api