clean up interface handling
tidying interface if set externally
fixing ordering