fix for tasks creation