task declaration fix