fixed tie bugs