fixed darwin, broke linux ;)