stupid mistake, fixing NPE