Fix pre/post errors