fixing compile process