fixed condition which checks if no defined unit was specified