Fixd bug with splitting a psttern string