prepare to console compile