make it compatible to Mono/chrome under Mac