fix local member variables