fixed bug with two task creation occurences