removing trim causing additional nulls