fixed bug in pulse which skipped one letter