fixed mac problem