Fixed stupid mac stuff