fixed bug in showing like and repost button