fix tasks adding