delete reference to mysql