remove redundant member variables