fixed on os x
udpated