fixed creating tasks