preventing use case failure in case the target is empty