fixed NPE with requirements