fixed NPE for providers without defaultroles