Fixed tie bug