fix possible null pointer math