bug with calling serial.init before size() fixed