removed unnecessary autopair