primitive management fix for nullable result