changed c and n terminal patches