cleans up avr core ports