fixed library to work with atmega16u4