fixing bug for pins with no users