to run LPC
fix bug