kill compile process, fixed Environ, Resource