Bug with Api tasks