fixed error in fetch_likes method