fixed compile process.