some mac compatability