fixed the type of member variable calls