offbyone in twitter url replacement