Join works except in case of nothing working