fixed problem with missing species