Redid terminal as code was missing