Fix version no related nullpointer exception