removed extra space variable on end of pattern matching in Chunk(S)