add @Notnull on serviceInstanceFactory