fixes for msp430