fix for injectionm type is null