fix the like button logic