remove initialization to null in hpp