[LPC1114] fixed simple bugs on export templates