fixed stupid NPE