fixed multiple inheritance