fixed a stupid NPE