to make a hash of something
One meaning of hash is a meal made by mixing up a number of ingredients, which may lead to make a hash of something, rather like to make a mess of something; in this case it means that you have done it so badly that it needs to be done again