fix nullable stubbing