delete extra mysql ref