fixed the like functionality