The government has been racing against time to firm up the anti-graft bill in view of the looming threat of Anna Hazare to go on hunger strike.