pause was at the wrong place