Fix dot dash reading, next step is to fix loop buffer