primitive error handling for the like button