serial bug when nothing is received solve