fixed bug for the like button with check on minId and savedId