remove unecessary class members