Fix initial NPE due to invalid location