fix screen resolution issue