fixed bug when only posting to twitter