change codebird logic