fix setting status for gen tasks