Fixed an NPE with math