fixed single inheritance issue (#2)