no target found when matrix is empty