Fixed references api on task resolution