macro buffer size increased to 1500 chars