Just fixed a null pointer