Makethreadsafer