some fixes for Teensy3.x