Fixed bug with inability of double inheriting