Fixed bugs with deleted members