Question: what to do when you have a bad job reference?
Answer: tell your old employer you were offered a job but it was withdrawn because of the reference. ask them to review the reference to make sure it was fair and accurate. ask them to confirm they'll give a fair reference in future.