changed scaler to 1024 for all OS