fix inheritant