fixing build error with newest version