fixing an errors: https://github.com/sferik/twitter/issues/317